package com.zoweunion.mechanic.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author wxx
 * @date 2023-05-22 09:47:59
 */
@Data
// @ApiModel(value = "${tableInfo.comment}查询参数", description = "${tableInfo.comment}查询")
public class TSSsMessageRecordDTO {

    //            @ApiModelProperty(value = "$column.comment")
    private Long id;

    private String[] ids;

//            @ApiModelProperty(value = "服务商ID")

    private String sId;


//            @ApiModelProperty(value = "发送类型  1是维修  2是保养 7：电子围栏报警 8：实数数据超限报警 9：故障码报警 10：访问 11：收藏 12：转发 13：申请解锁' 14-车辆工作小时达到保养的工时 15-车辆油位低于x%的时候 16-车辆报出故障代码的时候")

    private Integer sendType;


//            @ApiModelProperty(value = "概要内容")

    private String context;


//            @ApiModelProperty(value = "推送人")

    private String pushUser;


//            @ApiModelProperty(value = "接收人")

    private String receiveUser;


//            @ApiModelProperty(value = "删除标识  0：否，1：是")

    private Integer deleteFlag;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

//            @ApiModelProperty(value = "更新日期")

    private Date updateTime;


//            @ApiModelProperty(value = "更新者")

    private String updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

//            @ApiModelProperty(value = "创建日期")

    private Date createTime;


//            @ApiModelProperty(value = "备注")

    private String remark;


//            @ApiModelProperty(value = "发送等级")

    private Integer sendGrade;


//            @ApiModelProperty(value = "是否查看信息   1：否，2：是")

    private Integer isFlag;


//            @ApiModelProperty(value = "状态")

    private Integer status;


//            @ApiModelProperty(value = "推送的客户端  pc-pc端 YD-移动端")

    private String client;


//            @ApiModelProperty(value = "订单id")

    private String oId;


//            @ApiModelProperty(value = "创建者")

    private String createUser;


//            @ApiModelProperty(value = "车辆id")

    private String cId;


//            @ApiModelProperty(value = "额外参数 当推送时存放key和value")

    private String extraParams;


//            @ApiModelProperty(value = "消息是否处理 1：否， 2：是")

    private Integer isHandle;


    //    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    //    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

}

